Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update trigram word_similarity code example #532

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MasterOdin
Copy link

I think the code example for :word_similarity setting for trigram is flipped, such that word_similarity is enabled on :similarity_like and not on :word_similarity_like. This makes the return not work as expected, seeing as how word_similarity function in pg gives 0.8 similarity score vs 0.18 for similarity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant